/*
  1.该文件是专门为Count组件生成action对象
*/
import { INCREMENT,DECREMENT } from "./constant"
// 简写形式
export const createIncrementAction = (data) => ({type:INCREMENT,data})
export const createDecrementAction = (data) => {
  return {type:DECREMENT,data}
}